使用ffmpeg对音频文件进行转码时,如果遇到类似
[libmp3lame @ 0x1cf037c0]lame: output buffer too small (buffer index: 9404, free bytes: 388)
Audio encoding failed
的错误,不用担心,这是ffmpeg本身的一个小问题,忽略即可。
亮点 :
Two notes:
1. The error message doesn't actually matter. Audio encoding has NOT failed and you will have a watchable output video in your destination directory. Annoying that it reports a failure when it actually hasn't failed. Explanation is on this page: http://howto-pages.org/ffmpeg/
The error message about the output buffer being too small is nothing important. It's merely a result of the way data is passed between ffmpeg and the external codec, LAME.
2. The FFMpeg guys say this is fixed in the latest source, though I can't verify that: http://archives.free.net.ph/message/20081119.105257.374f3774.en.html
HTH! =)
无名电影
HxLauncher: Launch Android applications by voice commands